#define AppDelegate	(FifteenPuzzleAppDelegate *)[[UIApplication sharedApplication] delegate]
#define kLeftPadding 20
#define kTopPadding 90
#define kAnimationDuration 0.1
#import <UIKit/UIKit.h>
@class FifteenPuzzleViewController;
@interface FifteenPuzzleAppDelegate : NSObject <UIApplicationDelegate> {
    UIWindow *window;
    FifteenPuzzleViewController *viewController;
}

@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) IBOutlet FifteenPuzzleViewController *viewController;

-(void) moveTileWithIndex: (int)index;
-(void) moveTileOn: (int)position withDirection: (int)direction;
@end

